import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import axios from 'axios'
import zhCn from 'element-plus/es/locale/lang/zh-cn'
//全局引入CSS
import './style/headtap.css'

// //设置axios端口
// axios.defaults.baseURL = "http://localhost:9000/"



import * as echarts from 'echarts'

const app = createApp(App)

app.echarts=echarts

app.use(ElementPlus, {locale: zhCn,})
app.use(router)
app.use(router).use(router).mount('#app')

//请求地址
import urls from '../api/api.js'
app.config.globalProperties.$urls = urls

//请求方法
import request from '../api/request.js'
app.config.globalProperties.$request = request



